package com.sz.biz.logistics.ord.dto;

import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;
import java.util.Date;

/**
 * Package: com.sz.biz.logistics.ord.dto<br>
 * Function: 子订单的物流跟踪原始信息dto
 * Author: yanhong.xiao.<br>
 * Date: 2017-05-11 21:20:00.
 */
public class OrdTrackingOriginalDto implements Serializable {
    private Integer id;
    @NotBlank(message = "validate.notnull")
    private String waybillNo;
    /**
     * 子订单编号
     */
    @NotBlank(message = "validate.notnull")
    private String subOrderNo;

    private String serviceOrderNo;
    @NotBlank(message = "validate.notnull")
    private String serviceUid;
    @NotBlank(message = "validate.notnull")
    private String trackMessage;
    private Date messageTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getWaybillNo() {
        return waybillNo;
    }

    public void setWaybillNo(String waybillNo) {
        this.waybillNo = waybillNo;
    }

    public String getSubOrderNo() {
        return subOrderNo;
    }

    public void setSubOrderNo(String subOrderNo) {
        this.subOrderNo = subOrderNo;
    }

    public String getServiceOrderNo() {
        return serviceOrderNo;
    }

    public void setServiceOrderNo(String serviceOrderNo) {
        this.serviceOrderNo = serviceOrderNo;
    }

    public String getServiceUid() {
        return serviceUid;
    }

    public void setServiceUid(String serviceUid) {
        this.serviceUid = serviceUid;
    }

    public String getTrackMessage() {
        return trackMessage;
    }

    public void setTrackMessage(String trackMessage) {
        this.trackMessage = trackMessage;
    }

    public Date getMessageTime() {
        return messageTime;
    }

    public void setMessageTime(Date messageTime) {
        this.messageTime = messageTime;
    }
}
